package models_main

import "fmt"

const (
	LiveRecordType = 7 //录制类型
)

type Video struct {
	Id         int64
	TCFileID   string `gorm:"tc_file_id" json:"tc_file_id"`
	Type       int    `gorm:"type"`
	CreateTime int64  `gorm:"create_time" json:"create_time"`
	Stream     string `gorm:"stream" json:"stream"`
	PlayURL    string `json:"play_url"`
	SkipTime   int32  `json:"skip_time"`
	Duration   string `json:"duration"`
}

func (*Video) TableName() string {
	return fmt.Sprintf("%s_video", "db")
}
